package com.fuqiang.nightshopumsmodel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description:资源分类表
 * @author fuqiang
 * @since 2020-04-14
 */
@ApiModel(value ="资源分类表")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ums_resource_category")
public class UmsResourceCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "分类名称")
    @TableField("name")
    private String name;
    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;


    public static final String ID = "id";

    public static final String CREATE_TIME = "create_time";

    public static final String NAME = "name";

    public static final String SORT = "sort";

}
